﻿

using GoodDotNet.Core.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GoodDotNet.Core.Entity
{
	 [Table("admin_role_module")]
	public class AdminRoleModule:IEntity{
		
		/// <summary>
		/// 
		/// </summary>
		
		[Key]
		
		[Column("id")]
		public int Id{ get; set; }
		
		/// <summary>
		/// 角色id
		/// </summary>
		
		[Column("role_id")]
		public int RoleId{ get; set; }
		
		/// <summary>
		/// 模块id
		/// </summary>
		
		[Column("module_id")]
		public int ModuleId{ get; set; }
		
		/// <summary>
		/// 管理员id
		/// </summary>
		
		[Column("uid")]
		public long Uid{ get; set; }
		
		/// <summary>
		/// 插入时间
		/// </summary>
		
		[Column("insert_time")]
		public DateTime? InsertTime{ get; set; }
		
		/// <summary>
		/// 更新时间
		/// </summary>
		
		[Column("update_time")]
		public DateTime? UpdateTime{ get; set; }
		
		/// <summary>
		/// 按钮
		/// </summary>
		
		[Column("btns")]
		public string? Btns{ get; set; }
		
	}
}
